<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link type="text/css" rel="stylesheet" href="css/login.css"/>
    <script type="text/javascript" src="js/jquery-1.8.3.js"></script>
    <script type="text/javascript" src="js/login.js"></script>
    <title>简历</title>
    <script type="text/javascript">
        $(document).ready(function () {
            $(document).on("click","[name=makeresume]",function () {
                var rname=$("[name=rname]").val();
                var sex=$("[name=sex]").val();
                var birth=$("[name=birth]").val();
                var phone=$("[name=phone]").val();
                var school=$("[name=school]").val();
                var careername=$("[name=careername]").val();
                var career=$("[name=career]").val();
                var workplace=$("[name=workplace]").val();
                var salary=$("[name=salary]").val();
                var nature=$("[name=nature]").val();
                var status=$("[name=status]").val();
                var email=$("[name=email]").val();

                var uid=$("#uid").text();
                alert(uid);
                $.get("/oneminresume",{
                    "name":rname,
                    "sex":sex,
                    "birth":birth,
                    "phone":phone,
                    "school":school,
                    "career_name":careername,
                    "career":career,
                    "work_place":workplace,
                    "salary":salary,
                    "nature":nature,
                    "status":status,
                    "email":email
                },function () {
                    alert("简历生成成功！");
                    window.location.href="/login1?uid="+uid;
                });
            });
           

        });
    </script>
</head>

<body>
<h1 type="hidden"  id="uid" th:text="${uid}"></h1>

<div class="header">
    <div class="mainwarp">
        <div class="logo"><a href="index.html"><img src="images/log.png"/></a></div>
        <div class="welcome">欢迎注册</div>
        <div class="headerright">
            <a href="/login">个人登录</a>
            <span>|</span>
            <a href="index.html">返回首页</a>
        </div>
    </div>
</div>
<div class="jianliBox">
    <div class="jlpart1">
        <img src="images/img1.png"/>
    </div>
    <div class="jlpart2">
        <div class="jlpart2_1">
            <div class="jlbox1">
                <h1>一分钟填写简历</h1>
                <p>填写以下信息即可生成一份简历，一步注册，起航你的成功之梦！</p>
            </div>
            <div class="jlbox2">
                <span class="tit">姓名</span>
                <input name="rname" type="text" class="txtcon txt1"/>
            </div>
            <div  class="jlbox2">
                <span class="tit">性别</span>
                <select id="xb" name="sex" class="txtcon txt2">
                    <option value="男">男</option>
                    <option value="女">女</option>

                </select>

            </div>
            <div class="jlbox2">
                <span class="tit">出生地</span>
                <input name="birth" type="text" class="txtcon txt3"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">手机号</span>
                <input name="phone" type="text" class="txtcon txt3"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">毕业学校</span>
                <input name="school" type="text" class="txtcon txt3"/>
                <select class="txtcon txt5">
                    <option value="初中及以下">初中及以下</option>
                    <option value="中专/中技">中专/中技</option>
                    <option value="高中">高中</option>
                    <option value="大专">大专</option>
                    <option value="硕士">硕士</option>
                    <option value="本科">本科</option>
                    <option value="博士">博士</option>
                </select>
                <div name="grade" class="titxt">学历</div>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">专业名称</span>
                <input name="careername" type="text" class="txtcon txt3"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">所学专业</span>
                <input name="career" type="text" class="txtcon txt3"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span class="tit">想在</span>
                <select name="workplace" class="txtcon txt5">
                    <option value="北京">北京</option>
                    <option value="上海">上海</option>
                    <option value="深圳">深圳</option>
                    <option value="广州">广州</option>
                    <option value="长春">长春</option>
                </select>
                <div class="titxt">找月薪</div>
                <select name="salary" class="txtcon txt6">
                    <option value="30k以上">30000以上</option>
                    <option value="20k-30k">20000-30000</option>
                    <option value="10k-20k">10000-20000</option>
                    <option value="5k-10k">5000-10000</option>
                    <option value="0-5k">5000以下</option>
                </select>
                <div class="titxt">的</div>
                <select name="nature" class="txtcon txt5">
                    <option value="全职">全职</option>
                    <option value="简直">兼职</option>
                    <option value="实习">实习</option>
                </select>
                <div  class="titxt">工作</div>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <span  class="tit">求职状态</span>
                <select name="status" class="txtcon txt2">
                    <option value="离职-随时到岗">离职-随时到岗</option>
                    <option value="在职-月内到岗">在职-月内到岗</option>
                    <option value="在职-考虑机会">在职-考虑机会</option>
                    <option value="在职-暂不考虑">在职-暂不考虑</option>
                </select>
            </div>
            <div class="jlbox2">
                <span class="tit">邮箱</span>
                <input name="email" type="text" class="txtcon txt3"/>
                <div class="clear"></div>
            </div>
            <div class="jlbox2">
                <input name="makeresume" type="button" value="生成简历" class="jlbtn"/>
            </div>
        </div>
    </div>
</div>

<div class="clear"></div>
<div class="footer">
</div>
</body>
</html>
